package com.gmadmin.service.dto;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.gmadmin.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UnitOrganizationDto extends BaseEntity {


    /**
     * 单位id
     */
    @ApiModelProperty(value = "单位id")
    private Long id;

    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称")
    private String organizationName;

    /**
     * 组织地址
     */
    @ApiModelProperty(value = "组织地址")
    private String organizationAddress;

    /**
     * 组织电话
     */
    @ApiModelProperty(value = "组织电话")
    private String organizationTel;

    /**
     * 上级组织
     */
    @ApiModelProperty(value = "上级组织")
    private Long pid;

    /**
     * 下级组织数
     */
    @ApiModelProperty(value = "下级组织数")
    private Long subCount;

    /**
     * 排序,数字越小越排前
     */
    @ApiModelProperty(value = "排序,数字越小越排前")
    private Long organizationSort;

    /**
     * 组织状态,1启用，0禁用
     */
    @ApiModelProperty(value = "组织状态,1启用，0禁用")
    private Boolean enabled;

    @ApiModelProperty(value = "组织类型，1是组织机构,2是部门")
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getOrganizationAddress() {
        return organizationAddress;
    }

    public void setOrganizationAddress(String organizationAddress) {
        this.organizationAddress = organizationAddress;
    }

    public String getOrganizationTel() {
        return organizationTel;
    }

    public void setOrganizationTel(String organizationTel) {
        this.organizationTel = organizationTel;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getSubCount() {
        return subCount;
    }

    public void setSubCount(Long subCount) {
        this.subCount = subCount;
    }

    public Long getOrganizationSort() {
        return organizationSort;
    }

    public void setOrganizationSort(Long organizationSort) {
        this.organizationSort = organizationSort;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
